package com.wzp.yyptproject.service;

import com.wzp.yyptproject.entity.KeShi;
import com.wzp.yyptproject.entity.NeiKe;
import com.wzp.yyptproject.repository.KeShiRepository;
import com.wzp.yyptproject.repository.NeikeRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class NeiKeServiceimp implements NeiKeService{

    @Autowired
   private NeikeRepository neikeRepository;
    @Override
    public List<NeiKe> findAll() {
       return neikeRepository.findAll();
    }
}
